package com.cw.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cw.entity.Windows;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.cw.entity.dto.WindowsDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author BerNardShaw
* @description 针对表【windows(窗口表)】的数据库操作Mapper
* @createDate 2022-11-09 11:28:21
* @Entity com.cw.entity.Windows
*/
@Mapper
public interface WindowsMapper extends BaseMapper<Windows> {

    List<WindowsDto> getList();

    Page<WindowsDto> queryPage(Page<WindowsDto> windowsDtoPage, @Param(value = "name") String name);
}




